package baidu.day06;

// Created: 07/28
public class StudentTest {
    /**
     * first: the class student instants filed in the heap;
     * second:
     */
    public static void main(String[] args)
    {
        // Created stu1 object
        Student stu1 = new Student();

        // Create stu2 object
        Student stu2 = new Student(3, "Library", 'M');

        // Use the study method of stu2
        stu2.study();

        // Use the play game method of stu2
        stu2.playGame();


    }
}
